package com.haifeng.questionbankcrud.dao;

import com.haifeng.questionbankcrud.pojo.Teacher;

import java.util.List;

public interface TeacherDao {

    public List<Teacher> queryUserByNameAndPassword(Teacher teacher);

    public List<Teacher> findAll();
    public int addTeacher(Teacher teacher);

}
